package com.heima.model.wemedia.dto;

import com.heima.model.common.dto.PageRequestDto;
import lombok.Data;

@Data
public class WmPageRequestDto extends PageRequestDto {
    private Short isCollection;

    @Override
    public void checkParam() {
        super.checkParam();
        if(isCollection == null || ( isCollection != 0 && isCollection != 1)) {
            setIsCollection((short) 0);
        }
    }
}
